<?php
/**
 * @access public
 * @package UST_Modules.Account
 */
class User
{
	private $_userDAO;
	private $_accountId;

	public function __construct($accountId)
	{
		require_once 'modules/account/models/DAO/UserDAO.php';
		$this->_userDAO = new UserDAO();

		$this->_accountId = $accountId;
	}
	
	public function addUser($data)
	{
		$data["account_id"] = $this->_accountId;
		return $this->_userDAO->addUser($data);
	}
	/**
	 * @access public
	 */
	public function getUserDetails() {
		// Not yet implemented
	}

	/**
	 * @access public
	 * @param string userName
	 * @ParamType userName string
	 */
	public function getUserIdByName($userName) {
		// Not yet implemented
	}

	/**
	 * @access public
	 * @param int userId
	 * @ParamType userId int
	 */
	public function getUserNameById($userId)
	{
		// Not yet implemented
	}
}
?>